Deployment and Monetization - Topic 6 Summary

1. Introduction to App Publishing

Publishing your app is the process of making it available to users, which requires careful preparation and strategic planning.

Importance of App Publishing

Three main advantages:

App Publishing Process

Three high-level steps:
  1. Prepare the app for release: Configure, test, and build the final version
  2. Release the app to users: Upload to app store or distribute through other channels
  3. Maintain and update your app: Respond to user feedback and release updates

2. App Releasing Strategies

Three Main Strategies

Strategy Description Reach Best For
App Marketplace Publish through an app store like Google Play Broadest reach (millions of users) Most apps, especially consumer-facing
Website Download Host APK file on your own website Limited to website visitors Enterprise apps, beta testing
Direct Distribution Send APK directly to specific users Small group of known users Internal apps, testing

Releasing Through Google Play

Google Play is the premier marketplace for Android apps with robust developer tools and global reach.

3. Preparing for Release

Five main tasks to prepare your app:
  1. Gather materials for release: EULA, cryptographic keys, app icon
  2. Configure application for release: Remove debugging, clean project
  3. Build application for release: Build signed release version
  4. Prepare remote servers: Update resources for production
  5. Test application for release: Test signed version thoroughly

Release Preparation Checklist

4. Versioning the App

Version Information

Versioning is critical for app upgrades, maintenance, and preventing downgrades.

Version Settings in Gradle

android { defaultConfig { versionCode 2 // Internal version number versionName "1.1.0" // User-visible version } }

versionCode vs versionName

Property Type Purpose Example Values
versionCode Integer Internal version number for system comparison 1, 2, 3, ... (increases monotonically)
versionName String User-visible version displayed in app store 1.0.0, 1.1.0, 2.0.0, ...
versionCode rules:
versionName rules:

5. Signing the App

Signing your app is mandatory for publishing on Google Play and ensures authenticity and integrity.

Key Store Creation

Steps to create a keystore:
  1. Click Build > Generate Signed Bundle/APK in Android Studio
  2. Click "Create new..." under Key store path
  3. Fill in key store details:
    • Key store path: Location and filename (.jks extension)
    • Password: Secure password for keystore
    • Alias: Identifying name for key
    • Key password: Same as keystore password
    • Validity: 25 years recommended
    • Certificate info: Your organization details
  4. Click OK to create keystore

Signing Process

Steps to sign your app:
  1. Click Build > Generate Signed Bundle/APK
  2. Select Android App Bundle or APK
  3. Click "Choose existing..." and select your keystore
  4. Enter keystore password and key alias
  5. Enter key password
  6. Select destination folder and build type (release)
  7. Select signature versions (v1 and v2 recommended)
  8. Click Finish to build signed app
⚠️ Important: Never lose your keystore! If you lose it, you cannot update your app on Google Play.

6. Uploading to Google Play Store

Prerequisites

Testing Methods

Testing Method Description Use Case
Internal Testing Share with small group of testers Quick feedback from team members
Closed Testing (Alpha/Beta) Limited release to specific groups Quality assurance with real users
Open Testing Public beta release Wide testing with interested users
Production Full public release Final release to all users

Updating Your App

Steps to update:
  1. Increase versionCode in build.gradle
  2. Build new signed app bundle
  3. Upload to Google Play Console
  4. Create new release in appropriate track
  5. Roll out to users gradually

7. Choosing the Right Monetization Strategy

Selecting the right monetization strategy depends on your app type, target audience, and business goals.

Five Popular Monetization Strategies

Strategy Description Revenue Model Best For
Free and Paid Versions Offer both free and paid versions with different features Upgrades, ads Apps with premium features
In-app Purchases Free app with optional paid features/content Microtransactions Games, productivity apps
Subscription Model Free app with content/features requiring subscription Recurring revenue Service/content apps
Paid App Model App available only as paid download One-time purchase Premium utilities, tools
Partnership Model Monetize through brand sponsorships/partnerships Sponsorships, acquisitions Apps with large user base
Strategy Selection Factors:

8. Google Play's Subscription Platform

Google Play's subscription platform enables recurring revenue and enhanced user engagement through automated billing.

Key Features

Subscription Types

Type Billing Cycle Use Case
Monthly Subscription Recurring monthly Ongoing services
Annual Subscription Recurring annual Yearly services/content
One-time Purchase Single payment Permanent content/features

Pricing and Free Trials

Pricing options:
Revenue benefits:

9. Using Google AdMob

Google AdMob is a mobile advertising platform that helps app developers monetize their apps through in-app advertising.

What is Google AdMob?

How AdMob Works

AdMob monetization flow:
  1. Sign up for AdMob account
  2. Add your app to AdMob console
  3. Install Google Mobile Ads SDK in your app
  4. Create ad units and configure placements
  5. Display ads in your app
  6. Earn revenue from user interactions

AdMob Ad Formats

Ad formats available:
Format Description Best Practices
Banner Ads Standard rectangular ads placed in app UI Place in non-intrusive locations, use appropriate sizes
Interstitial Ads Full-screen ads shown during natural breaks Use sparingly at app transitions, don't interrupt user flow
Rewarded Ads Ads that reward users for watching/interacting Provide clear value exchange, use for game mechanics
Native Ads Ads that match app's look and feel Blend seamlessly with app design, maintain user experience

AdMob Metrics

Key metrics to track:
Metric Description Formula Target Values
Impressions Number of times ad is displayed Total displays Higher is better
Clicks Number of times users click ads Total clicks Depends on ad format
CTR (Click Through Rate) Percentage of users who click ads (Clicks/Impressions) × 100 0.5% - 3% (varies by format)
eCPM (Effective Cost Per Mille) Estimated earnings per 1000 impressions (Total Earnings/Impressions) × 1000 Varies by country/category
Optimization tips:

10. Quick Reference Guide

Publishing Checklist

Before publishing:

Monetization Strategy Decision Matrix

App Type User Base Size Recommended Strategy Implementation Complexity
Game Large In-app purchases + Ads + Subscriptions Medium
Productivity Small to Medium Paid app or Subscription Low
Content/Service Large Subscription + Ads Medium
Utility/Tool Small Paid app Low
Social/Community Large Ads + Partnerships High

Common Mistakes to Avoid

11. Exam Preparation Tips

12. Summary and Key Takeaways

App Publishing Process: Requires careful preparation including signing, versioning, testing, and configuration before release.

Google Play Store: Premier marketplace with global reach, robust tools, and various release tracks for testing and production.

Versioning Strategy: Use versionCode for system comparison and versionName for user visibility. Increment properly with each release.

App Signing: Mandatory process that ensures authenticity. Create keystore, sign app, and never lose the keystore file.

Monetization Strategies: Choose based on app type, audience, and business goals. Consider user experience and market trends.

Google Play Subscriptions: Enable recurring revenue with automated billing, free trials, and flexible pricing options.

Google AdMob: Monetize through various ad formats, track performance with metrics like CTR and eCPM, and optimize for better revenue.

Best Practices: Test thoroughly, monitor performance, balance revenue with user experience, and maintain regular updates.